package com.zyy.chain;

/**
 * @Description: 类描述
 * @Author: zyy
 * @Date: 2023/08/09 18:00
 */
public class GeneralManager extends Handler {

    public GeneralManager() {
        super(Handler.NUM_SEVEN);
    }

    @Override
    public void handleLeave(LeaveRequest leaveRequest) {


        System.out.println(leaveRequest.getName() + "请假" + leaveRequest.getNum() + "天，" + leaveRequest.getContent());
        System.out.println("总经理审批通过：同意！");
    }
}
